/*
 * Yabumi, a 2d scrolling shoot-em-up game.
 * Copyright (C) 2003 Gemma Teruaki <terugen@yabumi.com>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.

 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
 */

#ifndef _VIDEO_H_
#define _VIDEO_H_

/* includes begin */ 
/* need SDL_Surface  */
#include <SDL.h>
/* includes end */

/* constants begin */
#define DISPLAY_X1 (0 + 20)
#define DISPLAY_Y1 (0 + 20)
#define DISPLAY_X2 (640 - 20)
#define DISPLAY_Y2 (480 - 20)
#define DISPLAY_CENTER_X ((DISPLAY_X1 + DISPLAY_X2) * 0.5)
#define DISPLAY_CENTER_Y ((DISPLAY_Y1 + DISPLAY_Y2) * 0.5)
#define SPRITE_WH (32)
#define Z_ORDER_D4 (-40)
#define Z_ORDER_D3 (-30)
#define Z_ORDER_D2 (-20)
#define Z_ORDER_D1 (-10)
#define BMP_PLAYER "bmp/player.bmp";
#define BMP_PLAYER_THRUST "bmp/player_thrust.bmp";
#define BMP_ENEMY "bmp/enemy.bmp";
#define BMP_ENEMY_THRUST "bmp/enemy_thrust.bmp";
#define BMP_MUSASHI "bmp/musashi.bmp";
#define BMP_MISSILE "bmp/missile.bmp";
#define BMP_FLAME "bmp/flame.bmp";
#define BMP_HOMING_TAIL "bmp/homing_tail.bmp";
#define BMP_EXPLOSION "bmp/explosion.bmp";
#define BMP_SMOKE "bmp/smoke.bmp";
#define BMP_ITEM "bmp/item.bmp";
#define BMP_BACKGROUND "bmp/background.bmp";
#define BMP_RADAR "bmp/radar.bmp";
#define BMP_RADAR_ARROW "bmp/radar_arrow.bmp";
#define BMP_RADAR_ARROW_LONG "bmp/radar_arrow_long.bmp";
#define BMP_RADAR_ITEM "bmp/radar_item.bmp";
#define BMP_RADAR_SIGHT "bmp/radar_sight.bmp";
#define BMP_TITLE "bmp/title.bmp";
#define BMP_TITLE_PRESS "bmp/title_press.bmp";
#define BMP_TITLE_INSTRUCT "bmp/title_instruct.bmp";
/* constants end */

/* typedef end */
typedef struct {
  int x, y;
} _Camera;
/* typedef end */

/* Prototypes from the video.c file. */
void Video_Init();
void Video_Sprites_Draw();
#endif
